package com.autohome.wz.business.coupon.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CfwApiLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CfwApiLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdIsNull() {
            addCriterion("auto_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdIsNotNull() {
            addCriterion("auto_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdEqualTo(String value) {
            addCriterion("auto_user_id =", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdNotEqualTo(String value) {
            addCriterion("auto_user_id <>", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdGreaterThan(String value) {
            addCriterion("auto_user_id >", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("auto_user_id >=", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdLessThan(String value) {
            addCriterion("auto_user_id <", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdLessThanOrEqualTo(String value) {
            addCriterion("auto_user_id <=", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdLike(String value) {
            addCriterion("auto_user_id like", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdNotLike(String value) {
            addCriterion("auto_user_id not like", value, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdIn(List<String> values) {
            addCriterion("auto_user_id in", values, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdNotIn(List<String> values) {
            addCriterion("auto_user_id not in", values, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdBetween(String value1, String value2) {
            addCriterion("auto_user_id between", value1, value2, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdNotBetween(String value1, String value2) {
            addCriterion("auto_user_id not between", value1, value2, "autoUserId");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("ordernum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("ordernum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(String value) {
            addCriterion("ordernum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(String value) {
            addCriterion("ordernum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(String value) {
            addCriterion("ordernum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
            addCriterion("ordernum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(String value) {
            addCriterion("ordernum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(String value) {
            addCriterion("ordernum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLike(String value) {
            addCriterion("ordernum like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotLike(String value) {
            addCriterion("ordernum not like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<String> values) {
            addCriterion("ordernum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<String> values) {
            addCriterion("ordernum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(String value1, String value2) {
            addCriterion("ordernum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(String value1, String value2) {
            addCriterion("ordernum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andApiNameIsNull() {
            addCriterion("api_name is null");
            return (Criteria) this;
        }

        public Criteria andApiNameIsNotNull() {
            addCriterion("api_name is not null");
            return (Criteria) this;
        }

        public Criteria andApiNameEqualTo(String value) {
            addCriterion("api_name =", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameNotEqualTo(String value) {
            addCriterion("api_name <>", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameGreaterThan(String value) {
            addCriterion("api_name >", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameGreaterThanOrEqualTo(String value) {
            addCriterion("api_name >=", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameLessThan(String value) {
            addCriterion("api_name <", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameLessThanOrEqualTo(String value) {
            addCriterion("api_name <=", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameLike(String value) {
            addCriterion("api_name like", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameNotLike(String value) {
            addCriterion("api_name not like", value, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameIn(List<String> values) {
            addCriterion("api_name in", values, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameNotIn(List<String> values) {
            addCriterion("api_name not in", values, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameBetween(String value1, String value2) {
            addCriterion("api_name between", value1, value2, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiNameNotBetween(String value1, String value2) {
            addCriterion("api_name not between", value1, value2, "apiName");
            return (Criteria) this;
        }

        public Criteria andApiUrlIsNull() {
            addCriterion("api_url is null");
            return (Criteria) this;
        }

        public Criteria andApiUrlIsNotNull() {
            addCriterion("api_url is not null");
            return (Criteria) this;
        }

        public Criteria andApiUrlEqualTo(String value) {
            addCriterion("api_url =", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlNotEqualTo(String value) {
            addCriterion("api_url <>", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlGreaterThan(String value) {
            addCriterion("api_url >", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlGreaterThanOrEqualTo(String value) {
            addCriterion("api_url >=", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlLessThan(String value) {
            addCriterion("api_url <", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlLessThanOrEqualTo(String value) {
            addCriterion("api_url <=", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlLike(String value) {
            addCriterion("api_url like", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlNotLike(String value) {
            addCriterion("api_url not like", value, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlIn(List<String> values) {
            addCriterion("api_url in", values, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlNotIn(List<String> values) {
            addCriterion("api_url not in", values, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlBetween(String value1, String value2) {
            addCriterion("api_url between", value1, value2, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiUrlNotBetween(String value1, String value2) {
            addCriterion("api_url not between", value1, value2, "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiParamIsNull() {
            addCriterion("api_param is null");
            return (Criteria) this;
        }

        public Criteria andApiParamIsNotNull() {
            addCriterion("api_param is not null");
            return (Criteria) this;
        }

        public Criteria andApiParamEqualTo(String value) {
            addCriterion("api_param =", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamNotEqualTo(String value) {
            addCriterion("api_param <>", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamGreaterThan(String value) {
            addCriterion("api_param >", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamGreaterThanOrEqualTo(String value) {
            addCriterion("api_param >=", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamLessThan(String value) {
            addCriterion("api_param <", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamLessThanOrEqualTo(String value) {
            addCriterion("api_param <=", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamLike(String value) {
            addCriterion("api_param like", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamNotLike(String value) {
            addCriterion("api_param not like", value, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamIn(List<String> values) {
            addCriterion("api_param in", values, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamNotIn(List<String> values) {
            addCriterion("api_param not in", values, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamBetween(String value1, String value2) {
            addCriterion("api_param between", value1, value2, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiParamNotBetween(String value1, String value2) {
            addCriterion("api_param not between", value1, value2, "apiParam");
            return (Criteria) this;
        }

        public Criteria andApiTypeIsNull() {
            addCriterion("api_type is null");
            return (Criteria) this;
        }

        public Criteria andApiTypeIsNotNull() {
            addCriterion("api_type is not null");
            return (Criteria) this;
        }

        public Criteria andApiTypeEqualTo(Integer value) {
            addCriterion("api_type =", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeNotEqualTo(Integer value) {
            addCriterion("api_type <>", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeGreaterThan(Integer value) {
            addCriterion("api_type >", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("api_type >=", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeLessThan(Integer value) {
            addCriterion("api_type <", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeLessThanOrEqualTo(Integer value) {
            addCriterion("api_type <=", value, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeIn(List<Integer> values) {
            addCriterion("api_type in", values, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeNotIn(List<Integer> values) {
            addCriterion("api_type not in", values, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeBetween(Integer value1, Integer value2) {
            addCriterion("api_type between", value1, value2, "apiType");
            return (Criteria) this;
        }

        public Criteria andApiTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("api_type not between", value1, value2, "apiType");
            return (Criteria) this;
        }

        public Criteria andDataJsonIsNull() {
            addCriterion("data_json is null");
            return (Criteria) this;
        }

        public Criteria andDataJsonIsNotNull() {
            addCriterion("data_json is not null");
            return (Criteria) this;
        }

        public Criteria andDataJsonEqualTo(String value) {
            addCriterion("data_json =", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonNotEqualTo(String value) {
            addCriterion("data_json <>", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonGreaterThan(String value) {
            addCriterion("data_json >", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonGreaterThanOrEqualTo(String value) {
            addCriterion("data_json >=", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonLessThan(String value) {
            addCriterion("data_json <", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonLessThanOrEqualTo(String value) {
            addCriterion("data_json <=", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonLike(String value) {
            addCriterion("data_json like", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonNotLike(String value) {
            addCriterion("data_json not like", value, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonIn(List<String> values) {
            addCriterion("data_json in", values, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonNotIn(List<String> values) {
            addCriterion("data_json not in", values, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonBetween(String value1, String value2) {
            addCriterion("data_json between", value1, value2, "dataJson");
            return (Criteria) this;
        }

        public Criteria andDataJsonNotBetween(String value1, String value2) {
            addCriterion("data_json not between", value1, value2, "dataJson");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andApiSourceIsNull() {
            addCriterion("api_source is null");
            return (Criteria) this;
        }

        public Criteria andApiSourceIsNotNull() {
            addCriterion("api_source is not null");
            return (Criteria) this;
        }

        public Criteria andApiSourceEqualTo(String value) {
            addCriterion("api_source =", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceNotEqualTo(String value) {
            addCriterion("api_source <>", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceGreaterThan(String value) {
            addCriterion("api_source >", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceGreaterThanOrEqualTo(String value) {
            addCriterion("api_source >=", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceLessThan(String value) {
            addCriterion("api_source <", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceLessThanOrEqualTo(String value) {
            addCriterion("api_source <=", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceLike(String value) {
            addCriterion("api_source like", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceNotLike(String value) {
            addCriterion("api_source not like", value, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceIn(List<String> values) {
            addCriterion("api_source in", values, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceNotIn(List<String> values) {
            addCriterion("api_source not in", values, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceBetween(String value1, String value2) {
            addCriterion("api_source between", value1, value2, "apiSource");
            return (Criteria) this;
        }

        public Criteria andApiSourceNotBetween(String value1, String value2) {
            addCriterion("api_source not between", value1, value2, "apiSource");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNull() {
            addCriterion("Created_Stime is null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNotNull() {
            addCriterion("Created_Stime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeEqualTo(Date value) {
            addCriterion("Created_Stime =", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotEqualTo(Date value) {
            addCriterion("Created_Stime <>", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThan(Date value) {
            addCriterion("Created_Stime >", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Created_Stime >=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThan(Date value) {
            addCriterion("Created_Stime <", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Created_Stime <=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIn(List<Date> values) {
            addCriterion("Created_Stime in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotIn(List<Date> values) {
            addCriterion("Created_Stime not in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeBetween(Date value1, Date value2) {
            addCriterion("Created_Stime between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Created_Stime not between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNull() {
            addCriterion("Modified_Stime is null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNotNull() {
            addCriterion("Modified_Stime is not null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeEqualTo(Date value) {
            addCriterion("Modified_Stime =", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotEqualTo(Date value) {
            addCriterion("Modified_Stime <>", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThan(Date value) {
            addCriterion("Modified_Stime >", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Modified_Stime >=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThan(Date value) {
            addCriterion("Modified_Stime <", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Modified_Stime <=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIn(List<Date> values) {
            addCriterion("Modified_Stime in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotIn(List<Date> values) {
            addCriterion("Modified_Stime not in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeBetween(Date value1, Date value2) {
            addCriterion("Modified_Stime between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Modified_Stime not between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andAutoUserIdLikeInsensitive(String value) {
            addCriterion("upper(auto_user_id) like", value.toUpperCase(), "autoUserId");
            return (Criteria) this;
        }

        public Criteria andOrdernumLikeInsensitive(String value) {
            addCriterion("upper(ordernum) like", value.toUpperCase(), "ordernum");
            return (Criteria) this;
        }

        public Criteria andApiNameLikeInsensitive(String value) {
            addCriterion("upper(api_name) like", value.toUpperCase(), "apiName");
            return (Criteria) this;
        }

        public Criteria andApiUrlLikeInsensitive(String value) {
            addCriterion("upper(api_url) like", value.toUpperCase(), "apiUrl");
            return (Criteria) this;
        }

        public Criteria andApiParamLikeInsensitive(String value) {
            addCriterion("upper(api_param) like", value.toUpperCase(), "apiParam");
            return (Criteria) this;
        }

        public Criteria andDataJsonLikeInsensitive(String value) {
            addCriterion("upper(data_json) like", value.toUpperCase(), "dataJson");
            return (Criteria) this;
        }

        public Criteria andStatusLikeInsensitive(String value) {
            addCriterion("upper(status) like", value.toUpperCase(), "status");
            return (Criteria) this;
        }

        public Criteria andApiSourceLikeInsensitive(String value) {
            addCriterion("upper(api_source) like", value.toUpperCase(), "apiSource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}